<%@ page import='java.sql.ResultSet' %>
<%@ page import='forum.*' %>
<%@taglib uri="/WEB-INF/tlds/label.tld" prefix="lutag" %>

<% String sessionUsername = (String) session.getAttribute("username"); %>
<% String sessionType = (String) session.getAttribute("type"); %>

<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">

<html>
<head>
    <title><lutag:label name="title"/></title>
    <lutag:link href="css/forum.css"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
</head>

<body>
<table width="100%" style="border:none">
    <tr>
        <td class="copyRight"><lutag:image src="images/logo.jpg"/></td>
    </tr>
</table>
<table cellspacing="0" cellpadding="0" width="100%" class="table_bg" border="0" align="center">
    <tr>
        <td>
            <table cellspacing="1" cellpadding="4" width="100%" border="0">
                <tr class="tr_bg">
                    <td align="left" colspan="1" class="tr_bg">
                        <span class="span_style">
                        <b><lutag:label name="controlbar"/></b>
                        </span>
                    </td>
                </tr>
                <tr bgcolor="#ffffff">
                    <td align="left" valign="top" width="0">
                        <span class="span_style">
                        <table width="100%" height="0" border="0" cellpadding="0" cellspacing="0" class="infobar">
                            <tr>
                                <td width="50%" height="0" align="left" valign="top">
                                    <form action="User.login" method="post" name="form" enctype="multipart/form-data">
                                        <lutag:label name="username"/><lutag:label name="colon"/><input type="text" name="username"
                                                                                                        size="10" maxlength="60">
                                        <lutag:label name="password"/><lutag:label name="colon"/><input type="password" name="password"
                                                                                                        size="10" maxlength="60">
                                        File1 : <input type="file" name="file1">
                                        File2 : <input type="file" name="file2">
                                        <input type="submit" value='<lutag:label name="login"/>'>
                                    </form>
                                </td>
                                <td width="50%" height="0" align="right" valign="top">
                                </td>
                            </tr>
                        </table>
                        </span>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>


<br>
<table cellspacing="0" cellpadding="0" width="100%" class="table_bg" border="0" align="center">
    <tr>
        <td>
            <table cellspacing="1" cellpadding="4" width="100%" border="0">
                <tr class="tr_bg">
                    <td align="left" colspan="1" class="tr_bg">
                        <span class="span_style">
                            <b><lutag:label name="error"/></b>
                        </span>
                    </td>
                </tr>
                <tr bgcolor=#ffffff>
                    <td align="left" valign="top" width="200">
                        <span class="span_style">
                            <lutag:label name="loginfirst"/>
                            <br>
                            <br>
                            <a href="./register.jsp"><lutag:label name="registe"/></a>
                        </span>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<jsp:include page="./include/footer.jsp" flush="true"/>